#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;
#include "stack.h"
#include "priority_queue.h"
#include <list>

int main()
{
	list<int> lt;
	lt.push_back(12);
	lt.push_back(36);
	lt.push_back(5);
	lt.push_back(26);
	lt.push_back(52);
	lt.push_back(38);
	sjh::priority_queue<int> pq(lt.begin(), lt.end());

	while(!pq.empty())
	{
		cout << pq.top() << ' ';
		pq.pop();
	}
	return 0;
}